package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 通过会员Id列表查询会员信息接口
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-28
 */
public class MemberFeignBatchByIdVO implements Serializable {
    private static final long serialVersionUID = 5750462968520910037L;

    /**
     * 当前登录用户的会员Id
     */
    @NotNull(message = "当前会员Id要大于0")
    @Positive(message = "当前会员Id要大于0")
    private Long memberId;

    /**
     * 要查询的会员Id列表
     */
    @NotEmpty(message = "会员Id列表不能为空")
    private List<Long> memberIds;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public List<Long> getMemberIds() {
        return memberIds;
    }

    public void setMemberIds(List<Long> memberIds) {
        this.memberIds = memberIds;
    }
}
